package com.easthome.mapper;

import com.easthome.pojo.SetMeal;
import com.github.pagehelper.Page;
import org.apache.ibatis.annotations.Mapper;

import java.util.HashMap;

@Mapper
public interface SetMealMapper {

    /**
     * 添加套餐
     * @param setMeal
     */
    void addSetMeal(SetMeal setMeal);

    /**
     * 添加套餐和检查组的关系
     * @param map
     */
    void addSetMealAndCheckGroup(HashMap<Object, Object> map);
    /**
     * 分页查询
     */
    Page<SetMeal> querySetMealPage(String queryString);
}
